package com.ty.dto;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

@TableName("address")
public class Address extends BaseId{

  @TableField("user_id")
  private Long userId;
  @TableField("country")
  private String country;
  @TableField("province")
  private String province;
  @TableField("city")
  private String city;
  @TableField("area")
  private String area;
  @TableField("name")
  private String name;
  @TableField("detail_address")
  private String detailAddress;
  @TableField("phone")
  private String phone;
  @TableField("email")
  private String email;
  @TableField("postcode")
  private String postcode;
  @TableField("tel")
  private String tel;
  @TableField("building")
  private String building;
  @TableField("best_delivery_time")
  private Date bestDeliveryTime;
  @TableField("reserved")
  private String reserved;
  @TableField("reserved2")
  private String reserved2;
  @TableField("reserved3")
  private String reserved3;

  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }

  public String getCountry() {
    return country;
  }

  public void setCountry(String country) {
    this.country = country;
  }

  public String getProvince() {
    return province;
  }

  public void setProvince(String province) {
    this.province = province;
  }

  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }

  public String getArea() {
    return area;
  }

  public void setArea(String area) {
    this.area = area;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getDetailAddress() {
    return detailAddress;
  }

  public void setDetailAddress(String detailAddress) {
    this.detailAddress = detailAddress;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getPostcode() {
    return postcode;
  }

  public void setPostcode(String postcode) {
    this.postcode = postcode;
  }

  public String getTel() {
    return tel;
  }

  public void setTel(String tel) {
    this.tel = tel;
  }

  public String getBuilding() {
    return building;
  }

  public void setBuilding(String building) {
    this.building = building;
  }

  public Date getBestDeliveryTime() {
    return bestDeliveryTime;
  }

  public void setBestDeliveryTime(Date bestDeliveryTime) {
    this.bestDeliveryTime = bestDeliveryTime;
  }

  public String getReserved() {
    return reserved;
  }

  public void setReserved(String reserved) {
    this.reserved = reserved;
  }

  public String getReserved2() {
    return reserved2;
  }

  public void setReserved2(String reserved2) {
    this.reserved2 = reserved2;
  }

  public String getReserved3() {
    return reserved3;
  }

  public void setReserved3(String reserved3) {
    this.reserved3 = reserved3;
  }
}
